package org.codeart.factory.scheme02.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
public class ResponseInfo {

    // 状态码
    private String status;

    // 消息
    private String message;

    private Object data;

    public ResponseInfo(String status, String message) {
        this.status = status;
        this.message = message;
    }
}
